#include <stdio.h>
#include <stdlib.h>
#include <time.h>



int randomvalue (int starting, int ending) {
	double value;
	int diference = ending - starting;
	value = ((double)rand()/((double)RAND_MAX+1))*diference;
	value += starting;
	return (int) value;
}
int main() {
	srand((unsigned)time(NULL));
	int n = randomvalue(0,100);
	printf("numero: %d",n);
	return 0;
}
